clear all
set more off
version 15

*--------------------------------------------------

Replication file for:

“Divergent paths of political distrust”

Yin Yue

Japanese Journal of Political Science
*--------------------------------------------------

Load analysis-ready dataset
use "analysis_data.dta", clear

Check structure
describe
tab wave

*==================================================

ANALYSIS 1: OLS MODELS (Attitudinal Outcomes)
*==================================================

---- Political Passivity ----

reg passivity_z distrust_z eco_insecure_z nationalism_z c.distrust_z#c.eco_insecure_z c.distrust_z#c.nationalism_z age gender edu i.income i.job if wave <= 2019

Margins: distrust × economic insecurity
margins, at(distrust_z = (-1 1) eco_insecure_z = (-1 1))

Margins: distrust × nationalism
margins, at(distrust_z = (-1 1) nationalism_z = (-1 1))

---- Populist Attitudes ----

reg populism_z distrust_z eco_insecure_z nationalism_z c.distrust_z#c.eco_insecure_z c.distrust_z#c.nationalism_z age gender edu i.income i.job
if wave <= 2019

Margins: distrust × economic insecurity
margins, at(distrust_z = (-1 1) eco_insecure_z = (-1 1))

Margins: distrust × nationalism
margins, at(distrust_z = (-1 1) nationalism_z = (-1 1))

*==================================================

ANALYSIS 2: MULTINOMIAL LOGIT (Voting Behavior)
*==================================================

mlogit vote_type dissatisfaction eco_insecure_z nationalism_z c.dissatisfaction#c.eco_insecure_z c.dissatisfaction#c.nationalism_z
age gender edu i.income i.job if wave == 2024

Predicted probabilities by dissatisfaction
margins dissatisfaction, at(eco_insecure_z = (-1 0 1))
margins dissatisfaction, at(nationalism_z = (-1 0 1))

Interaction margins
margins dissatisfaction#eco_insecure_z
margins dissatisfaction#nationalism_z

End of replication file
